internal/reflectlite.Value.typ (method)
15 uses
internal/reflectlite (current package)
value.go#L91: func (v Value) typ() *abi.Type {
value.go#L103: if v.typ().Size() != goarch.PtrSize || !v.typ().Pointers() {
value.go#L114: t := v.typ()
value.go#L233: if v.typ().NumMethod() == 0 {
value.go#L254: tt := (*ptrType)(unsafe.Pointer(v.typ()))
value.go#L339: tt := (*arrayType)(unsafe.Pointer(v.typ()))
value.go#L357: if v.typ() == nil {
value.go#L360: return v.typ().NumMethod()
value.go#L373: x = x.assignTo("reflectlite.Set", v.typ(), target)
value.go#L375: typedmemmove(v.typ(), v.ptr, x.ptr)
value.go#L388: return toRType(v.typ())
value.go#L418: case directlyAssignable(dst, v.typ()):
value.go#L425: case implements(dst, v.typ()):
value.go#L445: panic(context + ": value of type " + toRType(v.typ()).String() + " is not assignable to type " + toRType(dst).String())
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |